<template>
  <div class="wrapper">
    <div class="top">header</div>
    <div class="layout">
      <div class="let">
        <Menu />
      </div>
      <div class="rig">
        <RouterView />
      </div>
    </div>
  </div>
</template>

<script lang="ts" setup>
import Menu from '@/components/Menu.vue';
</script>

<style lang="scss" scoped>
.wrapper {
  height: 100vh;
  .top {
    height: 80px;
    background-color: violet;
  }

  .layout {
    display: flex;
    height: calc(100% - 80px);

    .let {
      width: 180px;
      background-color: #545c64;

      .el-menu {
        border: none;
      }
    }
    .rig {
      flex: 1;
    }
  }
}
</style>
